<?php


require_once 'medoo.php'; 

$db = new medoo();

$mydb= $database->select("article", "*");


foreach($mydb as $v)
{
    echo "文章id:" . $v["id"] . "阅读次数:" . $v["hot"] . "<br/>";
}




?>